/*
* 引入createStore 创建store
* */

import { createStore } from 'redux'
import reducer from '../reducer'
import { composeWithDevTools } from 'redux-devtools-extension'

// export default () => createStore(reducer)
export default () => createStore(reducer, composeWithDevTools())
// export default (prevState) => createStore(reducer, prevState)
